/* 
 * File:   Rectangle.h
 * Author: lucia
 *
 * Created on 17 de octubre de 2014, 20:37
 */

#ifndef RECTANGLE_H
#define	RECTANGLE_H

#include "SkinFactory.h"
#include "../Define/Structs.h"
#include "Drawable.h"
#include "Dot.h"
#include "SBSImage.h"

class Rectangle : public Drawable {
private:
    Dot* dot;
    SkinFactory* skin;
    struct ObjectInit data;
    SBSImage* image;
    SDL_Renderer* gRenderer;
//    SBSLog* myLogFile;
    
    void loadMedia();
    
public:
    Rectangle(struct ObjectInit data, SDL_Renderer *render, int pixelWidth, int pixelHeight, int unitWidth, int unitHeight);
    void draw();
    
    virtual ~Rectangle();

};

#endif	/* RECTANGLE_H */

